﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace JTicket.UI
{
    public partial class S_BookList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["Ordercode"] != null)
            {
                Label1.Text = Request.QueryString["Ordercode"].ToString();
                Label3.Text = Request.QueryString["usertel"].ToString();
                Label2.Text = Request.QueryString["usertext"].ToString();
                //List<Model.H_BookBal> orderlist = BLL.H_BookInfo.GetOrderInfoLists
                //    (Request.QueryString["Ordercode"].ToString(),
                //    Request.QueryString["usertel"].ToString());
                //this.dg1.DataSource = orderlist;
                //this.dg1.DataBind();
            }

        }
        protected void dg1_ItemDataBound(object sender, DataGridItemEventArgs e)
        {
            if (e.Item.ItemIndex == -1) return;
            e.Item.Attributes.Add("bgcolor", "#EFFFDA");
            e.Item.Attributes.Add("style", "cursor:hand");
            e.Item.Attributes.Add("onMouseOver=this.style.backgroundColor", "#DBE3FA");
            e.Item.Attributes.Add("onMouseOut=this.style.backgroundColor", "#F6F6F6");

        }
    }
}